@model ShivamEMR.Model.Domain.PharmacyDomain.DrugClass

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>DrugClass</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">Description</div>
    <div class="display-field">@Model.Description</div>

    <div class="display-label">Notes</div>
    <div class="display-field">@Model.Notes</div>

    <div class="display-label">DrugGenerics</div>
    <div class="display-field">@(Model.DrugGenerics == null ? "None" : Model.DrugGenerics.Count.ToString())</div>

    <div class="display-label">DrugBrands</div>
    <div class="display-field">@(Model.DrugBrands == null ? "None" : Model.DrugBrands.Count.ToString())</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


